﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Example8_CSharp
{
    class Program
    {
        public abstract class Vehice
        {
            private string name;
            public Vehice()
            {
            }
            public string go()
            {
                return "";
            }
            public Boolean isEngineOn()
            {
                return false;
            }
        }
        public void startEngine()
        {
        }
        public void stopEngine()
        {
        }
        public string getName()
        {
            return "";
        }
        public interface ICargoTransport
        {
            public void loadCargo();
        }
        public class Car extends Vehice
        {   
            public Car()
            {
                public string go()
                {
                    return "";
                }
            }
        }
        public class Person
        {
            public ArrayList<Vehice>m_Vehice;
            public Person()
            {
            }
        }
        public void addVehice(Vehice v)
        {
        }
        public class Truck extends Vihice implements ICargoTransport
        {
            public Truck()
            {
            }
        }
        public String go()
        {
            return "";
        }
        public void loadCargo()
        {
        }
    }
     
}
